package com.smarthome.base.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.smarthome.base.dao.ShEquipmentStatusDao;
import com.smarthome.base.dao.base.BaseDaoImpl;
import com.smarthome.domain.bean.ShEquipmentStatus;
@Repository("shEquipmentStatusDao")
public class ShEquipmentStatusDaoImpl extends BaseDaoImpl<ShEquipmentStatus, Long>implements ShEquipmentStatusDao {

	private final static String NAMESPACE = "com.smarthome.base.dao.ShEquipmentStatusDao.";
	

	@Override
	public String getNameSpace(String statement) {
		return NAMESPACE + statement;
	}
	
	
	@Override
	public Long queryShEquipmentStatuCount(ShEquipmentStatus equipmentStatus) {
		return this.select(getNameSpace("queryShEquipmentStatuCount"), equipmentStatus);
	}

	@Override
	public List<ShEquipmentStatus> queryShEquipmentStatuList(ShEquipmentStatus equipmentStatus) {
		return this.selectList(getNameSpace("queryShEquipmentStatuList"), equipmentStatus);
	}




}
